package city.spring.modules.medicalstation.medicationRecordDrug.service;

import city.spring.modules.medicalstation.medicationRecordDrug.entity.MedicationRecordDrugExtEntity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * Service：
 *
 * @author 谢金婷
 * @date 2020-10-23 16:07:51
 */
public interface MedicationRecordDrugExtService extends IService<MedicationRecordDrugExtEntity> {
    String CACHE_NAME = "medication_record_drug_ext";

    /**
     * 业务处理：保存一个 <strong></strong>
     *
     * @param entity
     */
    void saveMedicationRecordDrugExt(MedicationRecordDrugExtEntity entity);

    /**
     * 业务处理：修改一个 <strong></strong>
     *
     * @param entity
     */
    void updateMedicationRecordDrugExt(MedicationRecordDrugExtEntity entity);

    /**
     * 业务处理：删除一个 <strong></strong>
     *
     * @param primaryKey 主键ID
     */
    void deleteMedicationRecordDrugExt(String primaryKey);

    /**
     * 业务处理：删除多个 <strong></strong>
     *
     * @param primaryKeys 主键ID列表
     */
    void deleteMedicationRecordDrugExt(List<String> primaryKeys);
}